/* 全局样式 */
//全局loading css样式
.my-spin {
  position: fixed;
  top: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;

  .ant-spin-dot {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
    color: #1677ff;
    font-size: 32px;
  }

  .ant-spin-dot-spin {
    transform: rotate(45deg);
    animation-name: rotate;
    animation-duration: 1.2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    .ant-spin-dot-item {
      position: absolute;
      display: block;
      width: 14px;
      height: 14px;
      border-radius: 100%;
      background-color: #1677ff;
      opacity: 0.3;
      transform: scale(0.75);
      transform-origin: 50% 50%;
      animation-name: css-1p3hq3p-antSpinMove;
      animation-duration: 1s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
      animation-direction: alternate;

      &:nth-child(1) {
        top: 0;
        inset-inline-start: 0;
      }

      &:nth-child(2) {
        top: 0;
        animation-delay: 0.4s;
        inset-inline-end: 0;
      }

      &:nth-child(3) {
        bottom: 0;
        animation-delay: 0.8s;
        inset-inline-end: 0;
      }

      &:nth-child(4) {
        bottom: 0;
        animation-delay: 1.2s;
        inset-inline-start: 0;
      }
    }
  }

  > div {
    position: absolute;
    width: 100%;
    height: 100%;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(405deg);
  }
}
